package api

import (
	"Walker/pkg/contract"
	"Walker/pkg/supports/response"
)

type Demo struct {
}

func (s *Demo) Test(request contract.Request) string {
	//测试日志文件
	return "我返回的是字符串"
}
func (s *Demo) TestOne(request contract.Request) contract.Response {
	return response.Success("返回成功", request.Query("msg"))
}

func (s *Demo) TestTwo() {

}
